package com.qf.service;
import  com.qf.Dao.UserDao;
import com.qf.Dao.UserDaoImpl;
import com.qf.Enity.User;

public class UserserviceImpl implements Userservidce {
     private UserDao userDao = new UserDaoImpl();
    @Override
    public boolean regist(User user) {
        return userDao.regist(user);
    }

    @Override
    public User login(String username, String password) {
        User user = userDao.login(username, password);
        return user;
    }
}
